package lab02.Test35;


    class Worker extends Employee {
        int days;
        double dailysalary;
        public Worker(String name, int days, double dailysalary) {
            super (name);
            this.days = days;
            this. dailysalary=dailysalary;
        }  public double computesalaryol() {
            return days *dailysalary;
        }

        @Override
        public double computeSalary() {
            return 0;
        }
    }


